 
package com.xbongbong.admin.model;

import com.xbongbong.admin.domain.entity.RaidersCorpScoreEntity;
import com.xbongbong.paas.toolbox.wrap.IModel;

import java.util.List;
import java.util.Map;


/**
* @author autoGen
* @time 2019-09-18 13:56:16
*/
public interface RaidersCorpScoreModel extends IModel<RaidersCorpScoreEntity> {

	Integer save(RaidersCorpScoreEntity entity);

	void insertBatch(List<RaidersCorpScoreEntity> entityList);

	Integer deleteByKey(Long key, String corpid);

	RaidersCorpScoreEntity getByKey(Long key, String corpid);

	@Override
	List<RaidersCorpScoreEntity> findEntitys(Map<String, Object> param);

    @Override
	Integer getEntitysCount(Map<String, Object> param);

    /**
     * 通过公司corpid获取到公司的积分实体
     * @param corpid
     * @return com.xbongbong.admin.domain.entity.RaidersCorpScoreEntity
     * @author zcp
     * @date 19/10/16 016 10:23
     * @update 19/10/16 016 10:23
     * @since v1.0
     * @version v1.0
     */
	RaidersCorpScoreEntity getByCorpid(String corpid);

}

 